package com.crm.biz.impl;

import java.util.List;

import com.crm.biz.BaseBiz;
import com.crm.biz.UserBiz;
import com.crm.entity.TbUser;
import com.crm.util.PageBean;

public class UserBizImpl extends BaseBiz implements UserBiz {
/**
 * 
 * 
 */
	public TbUser checkLogin(TbUser condition) {
		
		TbUser user = userDao.getUserByName(condition.getUserName().trim());
		
		if(user != null){
			if(user.getUserPass().equals(condition.getUserPass())){
				return user;
			}
		}
		
		return null;
	}

	public List<TbUser> getListByPage(TbUser condition, PageBean pb) {
		return null;
	}

}
